<!DOCTYPE html>
<html>
<head>    
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>注册</title>
    <link href="../static/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/css/a3common.css" rel="stylesheet">
    <link rel="stylesheet" href="../static/css/font_43459_lbtux0zjkr6yldi.css">
	<link rel="stylesheet" href="../static/css/register.css">
</head>

<body>


   <div id="main" class="main-warp">
    <div class="main-content">
        <div class="formDiv">
                
                    <h2 class="title text-center">注册</h2>

                <form id="registerForm" role="form" class="form-horizontal " action="" method="post">
                    {% csrf_token %}
                    <div class="form-item">
                        <div class="input-warp">
                            <span class="input-icon iconfont icon-yonghu1"></span><input id="userName" name="userName" placeholder="用户名" type="text" class="inputs" value="" required/>
                        </div>
                        <p id="userNameErr" class="errMsg"></p>
                    </div>

                    <div class="form-item">
                        <div class="input-warp">
                            <span class="input-icon iconfont icon-baomi"></span>
                            <input id="pwd" type="password" placeholder="至少6位字母或数字" maxlength="20" name="password" value=""
                                   class="inputs" required/>
                        </div>
                        <p id="passwordErr" class="errMsg"></p>
                    </div>
                    <div class="form-item">
                        <div class="input-warp">
                            <span class="input-icon iconfont icon-baomi"></span>
                            <input id="repwd" type="password" placeholder="至少6位字母或数字" maxlength="20" name="password2" value=""
                                   class="inputs"  required/>{{err1}}
                        </div>
                        <p id="passwordErr2" class="errMsg"></p>
                    </div>
                    <div class="form-item">
                        <div class="input-warp">
                            <span class="input-icon iconfont icon-youxiangbangding"></span><input id="shenfen" name="shenfen" placeholder="员工号" type="text" class="inputs" value="" required/>
                        </div>
                        <p id="shenfennumberErr" class="errMsg"></p>
                    </div>
                    <div class="btn-warp">
                        <div class="text-center">
                            <input type="submit" id="btnSubmit"  class="btn lgbtn blue btn-block" value="注册">
                        </div>
                    </div>
                    <div class="agreement gap">
                        <div class="text-right">
                            <div class="pull-left">已有账号，<a href="/" class="link">登录</a></div><p>注册即代表您已阅读并同意《<a href="javascript:;" target="_blank" class="link">使用协议</a>》</p>
                        </div>
                    </div>
                    {{err2}}
                </form>

        </div>
    </div>
</div>


</body>
</html>
